package com.atguigu.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @PROJECT_NAME: cloud2020
 * @DESCRIPTION: 用户数据操作曾
 * @Author: csc
 * @DATE: 2023/4/6 14:41
 */
@Mapper
public interface AccountDao {

    /**
     * 扣除账户余额
     */
    void decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);


}
